<?php
class WorkhistoryModel extends Orm_Base{
    public $table = 'work_history';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'w_id' => array('type' => "int(10) unsigned",'comment' => ''),
        'worktime' => array('type' => "varchar(10)",'comment' => ''),
        'descriptions' => array('type' => "varchar(50)",'comment' => ''),
        'work_type' => array('type' => "varchar(50)",'comment' => ''),
        'work_place' => array('type' => "varchar(100)",'comment' => ''),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
        'remarks' => array('type' => "varchar(100)",'comment' => '备注'),
    );
    public $pk = 'id';
}
?>
